import Vue from 'vue'

 import VueRouter from 'vue-router'
 Vue.use(VueRouter)

 import VueResource from 'vue-resource'
 Vue.use(VueResource)
 
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'

// 导入mintui组件
import { Header,Swipe,SwipeItem,Button } from 'mint-ui'
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
Vue.component(Button.name, Button)

import router from './router.js'

// 导入app组件
import app from './App.vue'


new Vue({
    el:'#app',
    render:c => c(app),
    router
})